package com.mt.feign;

import com.mt.constants.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Wang
 * @Description
 * @date 2020/11/15-14:21
 */

@Component
@FeignClient(value = "mt-user-center")
public interface UserApiProvider {

    @GetMapping("/user/auth")
    Result AuthUser(@RequestParam("token") String token, @RequestParam("type") String type,
                    @RequestParam("url")  String url, @RequestParam("aclCode")  String aclCode);
}
